﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using _1242026_1242133.DTO;
using _1242026_1242133.DAO;

namespace _1242026_1242133.BUS
{
    class LoaiPhongBUS
    {
        public DataTable ThemLoaiPhong(LoaiPhongDTO LoaiPhongDto)
        {
            LoaiPhongDAO DAO = new LoaiPhongDAO();
            return DAO.ThemLoaiPhong(LoaiPhongDto);
        }
        public DataTable LoadDanhSachLoaiPhong()
        {
            LoaiPhongDAO DAO = new LoaiPhongDAO();
            return DAO.LoadDanhSachLoaiPhong();
        }

        public DataTable LoadGiaTheoLoaiPhong(string MaLoaiPhong)
        { 
            LoaiPhongDAO DAO = new LoaiPhongDAO();
            return DAO.LoadGiaTheoLoaiPhong(MaLoaiPhong);
        }
    }
}
